text/template/parse.Tree.newIf (method)

4 uses

	text/template/parse (current package)
		node.go#L889: 		return b.tr.newIf(b.Pos, b.Line, b.Pipe, b.List, b.ElseList)
		node.go#L904: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
		node.go#L909: 	return i.tr.newIf(i.Pos, i.Line, i.Pipe.CopyPipe(), i.List.CopyList(), i.ElseList.CopyList())
		parse.go#L556: 	return t.newIf(t.parseControl(true, "if"))